import request from "@/utils/request";
export const visitlist = ()=>{
  //访问统计的接口
  return request('https://bjwz.bwie.com/wipi/api/view?page=1&pageSize=12',{    //https://bjwz.bwie.com/wipi/api/search/{id}
    method:'get',
    headers: {
      authorization: 'Bearer ' + localStorage.getItem('token'),
    },
  })
}



//删除
export const visitdelete = (payload:any)=>{
          return request(`https://bjwz.bwie.com/wipi/api/view/${payload}`,{
            method:'delete',
            data:{
              payload
            }
          })
}






